<template>
  <div>
    <TenantDashboards v-if="hasPermission('TENANT_ADMIN')" />
    <CustomersDashboards v-if="hasPermission('CUSTOMER_USER')" />
  </div>
</template>
<script setup lang="ts">
  import CustomersDashboards from './components/CustomersDashboards.vue';
  import TenantDashboards from './components/TenantDashboards.vue';
  import { usePermission } from '/@/hooks/web/usePermission';
  const { hasPermission } = usePermission();
  // 获取用户登录信息
</script>
